
#include "RequestHandlerDefinition.h"

RequestHandlerDefinition::RequestHandlerDefinition(std::string uri, std::string libraryName, std::string path,
                                                   std::string suffix, std::string className) : _uri(uri), _libraryName(libraryName), 
	_fullPath(path), _suffix(suffix), _className(className) { }

std::string RequestHandlerDefinition::getUri() const { return _uri; }

std::string RequestHandlerDefinition::getLibraryName() const {
    return _libraryName;
}

std::string RequestHandlerDefinition::getFullPath() const { return _fullPath; }

std::string RequestHandlerDefinition::getClassName() const { return _className; }

std::string RequestHandlerDefinition::getLibraryNameWithPathAndSuffix() const 
{
    std::string returnStr  = _fullPath;
    //returnStr.append("lib").append(_libraryName).append(_suffix);
    return returnStr;
}
